/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 优惠券配置实体类
 *
 * @author BladeX
 * @since 2020-10-10
 */
@Data
@TableName("gdiu_coupons_config")
@ApiModel(value = "CouponsConfig对象", description = "优惠券配置")
public class CouponsConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;
    /**
     * 优惠券类型 1:注册赠送 2:平台主动发放 3:分享获取 4:工人违约返送
     */
    @ApiModelProperty(value = "优惠券类型 1:注册赠送 2:平台主动发放 3:分享获取 4:工人违约返送")
    private String typecode;
    /**
     * 优惠券类型 1:注册赠送 2:平台主动发放 3:分享获取 4:工人违约返送
     */
    @ApiModelProperty(value = "优惠券类型 1:注册赠送 2:平台主动发放 3:分享获取 4:工人违约返送")
    private String typename;
    /**
     * 优惠券金额
     */
    @ApiModelProperty(value = "优惠券金额")
    private BigDecimal couponsmoney;

    ////每人发放张数
    private int ffcount;
    /**
     * 优惠券开关 1:开放 2:关闭
     */
    @ApiModelProperty(value = "优惠券开关 1:开放 2:关闭")
    private String couponsswitch;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date ctime;

    private String remark;


}
